package com.yangfan.design_pattern.strategy;

/**
 * @description:  税率计算抽取的接口
 * @author: yangfan
 * @date: Created in 2020/1/21 0021 20:37
 * @modified By:
 */

@FunctionalInterface
public interface TAXCalculate {
    //计算税率的方法
    Double calculate(Double salary,Double bonus);
}
